package com.sprinboot_vue.blog_springboot.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Thomas
 * @version 1.0
 * @date 2021/11/20 21:57
 */
@Data
@Entity
@Table(name = "user")
//对应的是后台登录用户表
public class User {
    @Id
    private String id;
    private String password;
    private String nick_name;
    private String email;
    private int power;
}
